
<template>
            <yt-grid width="1664" height="1016" background="#F0F3F8" class="page-dd51a">
                
            <yt-grid-item fixedSize='selfAdaption' id="yt-lhdtmm0vw4amg" gridColumnStart="118" gridColumnEnd="183" gridRowStart="22" gridRowEnd="42" zIndex="1" previewType="FixedWH">
                <span ref='ref7' class='webVueAntYtSpan webVueAntYtSpanStyle-c71qn webVueAntYtSpanStyle'>
                            <span v-html='"评分管理"'>
                            
                        </span>
                        </span>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-0zn4im0vw4amj" gridColumnStart="34" gridColumnEnd="117" gridRowStart="21" gridRowEnd="41" zIndex="2" previewType="FixedWH">
                <span ref='ref8' class='webVueAntYtSpan webVueAntYtSpanStyle-ha8j5 webVueAntYtSpanStyle'>
                            <span v-html='"数据管理 / "'>
                            
                        </span>
                        </span>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-i31ypm0vw4amk" gridColumnStart="33" gridColumnEnd="1620" gridRowStart="51" gridRowEnd="123" zIndex="3" previewType="FixedWH">
                <div ref='ref9' class='webVueAntYtRectangle webVueAntYtRectangleStyle-xmef8 webVueAntYtRectangleStyle'>
                            
                        </div>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-fdpqcm0vw4aml" gridColumnStart="33" gridColumnEnd="1620" gridRowStart="142" gridRowEnd="982" zIndex="4" previewType="FixedWH">
                <div ref='ref10' class='webVueAntYtRectangle webVueAntYtRectangleStyle-gfxr0 webVueAntYtRectangleStyle'>
                            
                        </div>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' :isShow='ProjectNameisShow1' id="yt-4n9wvm0vw4amm" gridColumnStart="67" gridColumnEnd="372" gridRowStart="71" gridRowEnd="103" zIndex="5" previewType="FixedWH">
                <a-form-item ref='ref11' class='webVueAntInputFormItem webVueAntYtInputFormItem-qztws  webVueAntYtInputFormItem show-label' name='ProjectNamevalue3' :colon='false'>
                            <template #label>
                            <div class='label-content '>
                            <span class='ant-form-item-content ' v-html='"项目名称"'>
                            
                        </span>
                        </div>
                        </template>
<a-input data-event class='webVueAntinput webVueAntYtInputStyle-cvso9 webVueAntYtInputStyle' v-model:value='ProjectNamevalue3' :maxLength='100' :placeholder='"请输入"'>
                            
                        </a-input>
                        </a-form-item>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-sllkgm0vw4amq" gridColumnStart="1298" gridColumnEnd="1378" gridRowStart="71" gridRowEnd="103" zIndex="6" previewType="FixedWH">
                <a-button ref='ref12' @click="()=> { fetchRatingManagementData(); }" class='webVueAntButton webVueAntYtButtonStyle-40xy9  webVueAntYtButtonStyle center' :loading='Queryloading1'>
                            <span class='yt-button-content ' v-html='"查询"'>
                            
                        </span>
                        </a-button>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-yuwfam0vw4ams" gridColumnStart="1398" gridColumnEnd="1478" gridRowStart="71" gridRowEnd="103" zIndex="7" previewType="FixedWH">
                <a-button ref='ref13' @click="()=> { resetRatingManagementData(); }" class='webVueAntButton webVueAntYtButtonStyle-gjgy9  webVueAntYtButtonStyle center' :loading='Resetloading1'>
                            <span class='yt-button-content ' v-html='"重置"'>
                            
                        </span>
                        </a-button>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' :isShow='RatingManagementFormisShow1' id="yt-spy5jm0vw4aq5" gridColumnStart="67" gridColumnEnd="1598" gridRowStart="211" gridRowEnd="970" zIndex="9" previewType="FixedWH">
                <yt-table ref='ref42' @onTableChange="()=> { onRatingManagementTableChange(); }" class='webVueAntYtTable webVueAntYtTableStyle-l54wz webVueAntYtTableStyle' v-model:currentRow='RatingManagementFormcurrentRow1' v-model:selectedRows='RatingManagementFormselectedRows1' v-model:total='RatingManagementFormtotal1' v-model:current='RatingManagementFormcurrent2' v-model:pageSize='RatingManagementFormpageSize1' :columns='RatingManagementFormdata1.columns' :dataSource='RatingManagementFormdata1.dataSource' :scroll='{y:645.0034590376184}'>
                            <template #cell='{ column, record }'>
                            <template v-if='column.dataIndex === "id"' :forKey='"id"'>
                            
                        </template>
<template v-if='column.dataIndex === "projectName"' :forKey='"projectName"'>
                            
                        </template>
<template v-if='column.dataIndex === "projectNumber"' :forKey='"projectNumber"'>
                            
                        </template>
<template v-if='column.dataIndex === "dateofGeneration"' :forKey='"dateofGeneration"'>
                            
                        </template>
<template v-if='column.dataIndex === "operation"' :forKey='"operation"'>
                            
            <yt-grid background="#00000000" previewType="FixedWH" width="372" height="48">
                
            <yt-grid-item fixedSize='selfAdaption' id="yt-3q567m0vw4aqx" gridColumnStart="66" gridColumnEnd="146" gridRowStart="8" gridRowEnd="40" zIndex="1" previewType="FixedWH">
                <a-button ref='ref43' @click="()=> { showEditPopup(record); }" class='webVueAntButton webVueAntYtButtonStyle-qs5f7  webVueAntYtButtonStyle center' :loading='Editloading1'>
                            <span class='yt-button-content ' v-html='"编辑"'>
                            
                        </span>
                        </a-button>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-8dhgqm0vw4aqz" gridColumnStart="176" gridColumnEnd="253" gridRowStart="8" gridRowEnd="40" zIndex="2" previewType="FixedWH">
                <a-button ref='ref44' @click="()=> { deleteRatingManagementData(record); }" class='webVueAntButton webVueAntYtButtonStyle-d4bww  webVueAntYtButtonStyle center' :loading='Deleteloading1'>
                            <span class='yt-button-content ' v-html='"删除"'>
                            
                        </span>
                        </a-button>
            </yt-grid-item>
        
            </yt-grid>
            
                        </template>
                        </template>
                        </yt-table>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-6temjm0vw68l3" gridColumnStart="78" gridColumnEnd="158" gridRowStart="163" gridRowEnd="195" zIndex="8" previewType="FixedWH">
                <a-button ref='ref47' @click="()=> { showAddPopup(); }" class='webVueAntButton webVueAntYtButtonStyle-42giv  webVueAntYtButtonStyle center' :loading='Newloading1'>
                            <span class='yt-button-content ' v-html='"新增"'>
                            
                        </span>
                        </a-button>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' :isShow='AddedpopupwindowisShow1' id="yt-xc6ywm10mx40o" gridColumnStart="579" gridColumnEnd="1074" gridRowStart="179" gridRowEnd="562" zIndex="10" previewType="FixedWH">
                <yt-custom-modal ref='ref48' @ok="()=> { addNewRatingManagementData(); }" @cancel="()=> { cancelAddPopup(); }" class='webVueAntYtModal  webVueAntYtModalStyle' v-model:isShow='AddedpopupwindowisShow1' :title='"新增"'>
                            <template #content>
                            <a-form class='webVueAntForm ' :model='Addedpopupwindowform1' ref='ref48_form'>
                            
            <yt-grid  previewType="FixedWH" width="491" height="277">
                
            <yt-grid-item fixedSize='selfAdaption' id="yt-3ykatm10mx40w" gridColumnStart="76" gridColumnEnd="382" gridRowStart="38" gridRowEnd="70" zIndex="1" previewType="FixedWH">
                <a-form-item ref='ref54' class='webVueAntInputFormItem webVueAntYtInputFormItem-w0hrk  webVueAntYtInputFormItem show-label' name='ProjectNamevalue1' :colon='false' :rules='[]'>
                            <template #label>
                            <div class='label-content '>
                            <span class='ant-form-item-content ' v-html='"项目名称"'>
                            
                        </span>
                        </div>
                        </template>
<a-input data-event class='webVueAntinput webVueAntYtInputStyle-2xk2a webVueAntYtInputStyle' v-model:value='Addedpopupwindowform1.ProjectNamevalue1' :maxLength='100' :placeholder='"请输入"'>
                            
                        </a-input>
                        </a-form-item>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-rdl3nm10mx412" gridColumnStart="90" gridColumnEnd="382" gridRowStart="108" gridRowEnd="140" zIndex="2" previewType="FixedWH">
                <a-form-item ref='ref55' class='webVueAntInputFormItem webVueAntYtInputFormItem-k5tvn  webVueAntYtInputFormItem show-label' name='ItemNovalue1' :colon='false' :rules='[]'>
                            <template #label>
                            <div class='label-content '>
                            <span class='ant-form-item-content ' v-html='"项目号"'>
                            
                        </span>
                        </div>
                        </template>
<a-input data-event class='webVueAntinput webVueAntYtInputStyle-pm4a4 webVueAntYtInputStyle' v-model:value='Addedpopupwindowform1.ItemNovalue1' :maxLength='100' :placeholder='"请输入"'>
                            
                        </a-input>
                        </a-form-item>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-ye12am10mx417" gridColumnStart="103" gridColumnEnd="382" gridRowStart="177" gridRowEnd="209" zIndex="3" previewType="FixedWH">
                <a-form-item ref='ref56' class='webVueAntInputFormItem webVueAntYtInputFormItem-2gemu  webVueAntYtInputFormItem show-label' name='Ratingvalue1' :colon='false' :rules='[]'>
                            <template #label>
                            <div class='label-content '>
                            <span class='ant-form-item-content ' v-html='"评分"'>
                            
                        </span>
                        </div>
                        </template>
<a-input data-event class='webVueAntinput webVueAntYtInputStyle-daxm2 webVueAntYtInputStyle' v-model:value='Addedpopupwindowform1.Ratingvalue1' :maxLength='100' :placeholder='"请输入"'>
                            
                        </a-input>
                        </a-form-item>
            </yt-grid-item>
        
            </yt-grid>
            
                        </a-form>
                        </template>
                        </yt-custom-modal>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' :isShow='EditpopupwindowisShow1' id="yt-kx746m10myf68" gridColumnStart="609" gridColumnEnd="1104" gridRowStart="209" gridRowEnd="592" zIndex="11" previewType="FixedWH">
                <yt-custom-modal ref='ref59' @ok="()=> { updateRatingManagementData(); }" @cancel="()=> { cancelEditPopup(); }" class='webVueAntYtModal  webVueAntYtModalStyle' v-model:isShow='EditpopupwindowisShow1' :title='"编辑"'>
                            <template #content>
                            <a-form class='webVueAntForm ' :model='Editpopupwindowform1' ref='ref59_form'>
                            
            <yt-grid  previewType="FixedWH" width="491" height="277">
                
            <yt-grid-item fixedSize='selfAdaption' id="yt-rpq7sm10myf6e" gridColumnStart="76" gridColumnEnd="382" gridRowStart="38" gridRowEnd="70" zIndex="1" previewType="FixedWH">
                <a-form-item ref='ref63' class='webVueAntInputFormItem webVueAntYtInputFormItem-jlg6b  webVueAntYtInputFormItem show-label' name='ProjectNamevalue2' :colon='false' :rules='[]'>
                            <template #label>
                            <div class='label-content '>
                            <span class='ant-form-item-content ' v-html='"项目名称"'>
                            
                        </span>
                        </div>
                        </template>
<a-input data-event class='webVueAntinput webVueAntYtInputStyle-0up01 webVueAntYtInputStyle' v-model:value='Editpopupwindowform1.ProjectNamevalue2' :maxLength='100' :placeholder='"请输入"'>
                            
                        </a-input>
                        </a-form-item>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-8l62qm10myf6j" gridColumnStart="90" gridColumnEnd="382" gridRowStart="108" gridRowEnd="140" zIndex="2" previewType="FixedWH">
                <a-form-item ref='ref64' class='webVueAntInputFormItem webVueAntYtInputFormItem-ncjva  webVueAntYtInputFormItem show-label' name='ItemNovalue2' :colon='false' :rules='[]'>
                            <template #label>
                            <div class='label-content '>
                            <span class='ant-form-item-content ' v-html='"项目号"'>
                            
                        </span>
                        </div>
                        </template>
<a-input data-event class='webVueAntinput webVueAntYtInputStyle-2jdap webVueAntYtInputStyle' v-model:value='Editpopupwindowform1.ItemNovalue2' :maxLength='100' :placeholder='"请输入"'>
                            
                        </a-input>
                        </a-form-item>
            </yt-grid-item>
        

            <yt-grid-item fixedSize='selfAdaption' id="yt-boft6m10myf6o" gridColumnStart="103" gridColumnEnd="382" gridRowStart="177" gridRowEnd="209" zIndex="3" previewType="FixedWH">
                <a-form-item ref='ref65' class='webVueAntInputFormItem webVueAntYtInputFormItem-55vl7  webVueAntYtInputFormItem show-label' name='Ratingvalue2' :colon='false' :rules='[]'>
                            <template #label>
                            <div class='label-content '>
                            <span class='ant-form-item-content ' v-html='"评分"'>
                            
                        </span>
                        </div>
                        </template>
<a-input data-event class='webVueAntinput webVueAntYtInputStyle-4iyjf webVueAntYtInputStyle' v-model:value='Editpopupwindowform1.Ratingvalue2' :maxLength='100' :placeholder='"请输入"'>
                            
                        </a-input>
                        </a-form-item>
            </yt-grid-item>
        
            </yt-grid>
            
                        </a-form>
                        </template>
                        </yt-custom-modal>
            </yt-grid-item>
        
            </yt-grid>
        </template>

<script>

  import { loadCss } from "../shared/loadTheme";
import axios from "axios";
import { message, Modal } from "ant-design-vue";
import { h } from "vue";
export default {
  data() {
    return {
      Resetloading1: false,
      Deleteloading1: false,
      RatingManagementFormcurrentRow1: {},
      RatingManagementFormselectedRows1: [],
      RatingManagementFormpageSize1: 10,
      RatingManagementFormdata1: {
        columns: [{
          key: "id",
          title: "id",
          dataIndex: "id"
        }, {
          key: "projectName",
          title: "项目名称",
          dataIndex: "projectName"
        }, {
          key: "projectNumber",
          title: "项目编号",
          dataIndex: "projectNumber"
        }, {
          key: "rating",
          title: "评分",
          dataIndex: "rating"
        }, {
          key: "operation",
          title: "操作",
          dataIndex: "operation",
          cellType: "slot"
        }],
        dataSource: [{
          id: 1,
          projectName: "标题1",
          projectNumber: "标题1"
        }, {
          id: 2,
          projectName: "标题2",
          projectNumber: "标题2"
        }]
      },
      RatingManagementFormcurrent2: 1,
      RatingManagementFormtotal1: 2,
      RatingManagementFormisShow1: true,
      Queryloading1: false,
      EditpopupwindowisShow1: false,
      Editpopupwindowform1: {
        id: null,
        ProjectNamevalue2: "",
        ItemNovalue2: "",
        Ratingvalue2: ""
      },
      Editloading1: false,
      AddedpopupwindowisShow1: false,
      Addedpopupwindowform1: {
        id: null,
        ProjectNamevalue1: "",
        ItemNovalue1: "",
        Ratingvalue1: ""
      },
      ProjectNamevalue3: "",
      ProjectNameisShow1: true,
      Newloading1: false
    };
  },
  watch: {},
  methods: {
    async fetchRatingManagementData() {
      this.Queryloading1 = true;
      try {
        const response = await this.executeBackendInterface('getRatingManagementData', {
          current: this.RatingManagementFormcurrent2,
          pageSize: this.RatingManagementFormpageSize1,
          projectName: this.ProjectNamevalue3
        });
        if (response.flag) {
          this.RatingManagementFormdata1.dataSource = response.data.data.map(item => ({
            id: item.id,
            projectName: item.project_name,
            projectNumber: item.project_code,
            rating: item.score
          }));
          this.RatingManagementFormtotal1 = response.data.total;
        } else {
          message.error(response.message);
        }
      } catch (error) {
        message.error('查询失败');
      } finally {
        this.Queryloading1 = false;
      }
    },
    resetRatingManagementData() {
      this.ProjectNamevalue3 = "";
      this.fetchRatingManagementData();
    },
    async addNewRatingManagementData() {
      try {
        const response = await this.executeBackendInterface('addRatingManagementData', {
          ProjectNamevalue1: this.Addedpopupwindowform1.ProjectNamevalue1,
          ItemNovalue1: this.Addedpopupwindowform1.ItemNovalue1,
          Ratingvalue1: this.Addedpopupwindowform1.Ratingvalue1
        });
        if (response.flag) {
          message.success('新增成功');
          this.AddedpopupwindowisShow1 = false;
          this.Addedpopupwindowform1 = {
            id: null,
            ProjectNamevalue1: "",
            ItemNovalue1: "",
            Ratingvalue1: ""
          };
          this.fetchRatingManagementData();
        } else {
          message.error(response.message);
        }
      } catch (error) {
        message.error('新增失败');
      }
    },
    async initRatingManagementData() {
      this.fetchRatingManagementData();
    },
    async onRatingManagementTableChange(pagination) {
      this.RatingManagementFormcurrent2 = pagination.current;
      this.RatingManagementFormpageSize1 = pagination.pageSize;
      this.fetchRatingManagementData();
    },
    showEditPopup(record) {
      this.Editpopupwindowform1 = {
        id: record.id,
        ProjectNamevalue2: record.projectName,
        ItemNovalue2: record.projectNumber,
        Ratingvalue2: record.rating
      };
      this.EditpopupwindowisShow1 = true;
    },
    async deleteRatingManagementData(record) {
      Modal.confirm({
        title: '确认删除',
        content: '确定要删除这条记录吗？',
        onOk: async () => {
          try {
            const response = await this.executeBackendInterface('deleteRatingManagementData', {
              id: record.id
            });
            if (response.flag) {
              message.success('删除成功');
              this.fetchRatingManagementData();
            } else {
              message.error(response.message);
            }
          } catch (error) {
            message.error('删除失败');
          }
        }
      });
    },
    async updateRatingManagementData() {
      try {
        const response = await this.executeBackendInterface('updateRatingManagementData', {
          id: this.Editpopupwindowform1.id,
          ProjectNamevalue2: this.Editpopupwindowform1.ProjectNamevalue2,
          ItemNovalue2: this.Editpopupwindowform1.ItemNovalue2,
          Ratingvalue2: this.Editpopupwindowform1.Ratingvalue2
        });
        if (response.flag) {
          message.success('更新成功');
          this.EditpopupwindowisShow1 = false;
          this.fetchRatingManagementData();
        } else {
          message.error(response.message);
        }
      } catch (error) {
        message.error('更新失败');
      }
    },
    showAddPopup() {
      // 显示新增弹窗
      this.AddedpopupwindowisShow1 = true;
    },
    cancelAddPopup() {
      // 关闭弹窗
      this.AddedpopupwindowisShow1 = false;

      // 清空表单项
      this.Addedpopupwindowform1.ProjectNamevalue1 = "";
      this.Addedpopupwindowform1.ItemNovalue1 = "";
      this.Addedpopupwindowform1.Ratingvalue1 = "";
    },
    cancelEditPopup() {
      // 关闭弹窗
      this.EditpopupwindowisShow1 = false;
    },
    async fetchAndSetVariables() {
      try {
        // 调用后端接口获取变量数组 需要传入pageUuid变量
        const pageUuid = '1833350095802728448';
        const response = await axios.get(`./system/permission/getCurrentPageNotShowVariable?pageUuid=${pageUuid}`);
        const variablesArray = response.data; // 后端直接返回变量数组

        if (variablesArray && Array.isArray(variablesArray))
          // 遍历数组，将每个变量设置为true
          variablesArray.forEach(variable => {
            this[variable] = true;
          });
      } catch (error) {
        console.error('获取变量失败:', error);
      }
    },
    executeBackendInterface(funcName, params) {
      // 处理参数为Map的情况
      if (params instanceof Map) {
        params = Object.fromEntries(params);
      }
      // 调用后端接口
      return new Promise((resolve, reject) => {
        axios.post('./Scoringmanagement/' + funcName, params, {
          headers: {
            'Content-Type': 'application/json'
          }
        }).then(response => {
          resolve(response.data);
        }).catch(error => {
          reject(error);
        });
      });
    }
  },
  mounted() {
    loadCss('./css/评分管理/theme.css');
    this.initRatingManagementData();
    // 组件挂载后自动调用函数获取变量
    this.fetchAndSetVariables();
  },
  computed: {}
};

</script>
<style lang="less">
.page-dd51a{
.webVueAntYtSpanStyle{
opacity: 1;
color: #3D3D3D;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 20px;
letter-spacing: 0px;
align-content: center;
text-decoration: none;
font-style: normal;
text-align: left;
text-align-last: left;
}
.webVueAntYtSpanStyle span{
text-shadow: 0px 0px 0px transparent;
}
.webVueAntYtSpan {
    display: inline-block;
    height:100%;
    width:100%;
}
.webVueAntYtSpan span{
    word-break: break-all;
    width: auto;
    display: inline-block;
    vertical-align: top; /* 根据需要调整 */
}
.webVueAntYtSpan span:focus{
    outline: none;
}

.webVueAntYtSpanStyle-c71qn{
color: #438EFC !important;
font-size: 16px;
font-weight: bold;
}
.webVueAntYtSpanStyle-c71qn span{
text-decoration: none;
}

.webVueAntYtSpanStyle-ha8j5{
color: #4A4A4A !important;
font-size: 16px;
font-weight: bold;
}
.webVueAntYtSpanStyle-ha8j5 span{
text-decoration: none;
}

.webVueAntYtRectangleStyle{
opacity: 1;
box-shadow: 0px 0px 0px 0px transparent;
background: transparent;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
border-top: 1px solid #CDCDCD;
border-right: 1px solid #CDCDCD;
border-bottom: 1px solid #CDCDCD;
border-left: 1px solid #CDCDCD;
}
.webVueAntYtRectangle {
    width: 100%;
    height:100%;

}

.webVueAntYtRectangleStyle-xmef8{
background: #ffffff;
border-top: 1px solid transparent;
border-right: 1px solid transparent;
border-bottom: 1px solid transparent;
border-left: 1px solid transparent;
}

.webVueAntYtRectangleStyle-gfxr0{
background: #ffffff;
border-top: 1px solid transparent;
border-right: 1px solid transparent;
border-bottom: 1px solid transparent;
border-left: 1px solid transparent;
}

.webVueAntYtInputFormItem{
flex-direction: row;
opacity: 1;
}
.webVueAntYtInputFormItem .ant-form-item-label label{
text-decoration: none;
font-style: normal;
color: #333333;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
width: 52px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.webVueAntYtInputFormItem .ant-form-item-label label .label-content{
text-align: left;
text-align-last: left;
}
.webVueAntYtInputStyle:not(.ant-input-affix-wrapper){
color: #333333;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
background: #FFFFFF;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-top: 1px solid #CDCDCD;
border-right: 1px solid #CDCDCD;
border-bottom: 1px solid #CDCDCD;
border-left: 1px solid #CDCDCD;
box-shadow: 0px 0px 0px 0px transparent;
text-decoration: none;
font-style: normal;
text-align: left;
text-align-last: left;
padding-top: 0px;
padding-right: 10px;
padding-bottom: 0px;
padding-left: 12px;
}
.webVueAntYtInputStyle.ant-input-affix-wrapper{
background: #FFFFFF;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-top: 1px solid #CDCDCD;
border-right: 1px solid #CDCDCD;
border-bottom: 1px solid #CDCDCD;
border-left: 1px solid #CDCDCD;
box-shadow: 0px 0px 0px 0px transparent;
padding-top: 0px;
padding-right: 10px;
padding-bottom: 0px;
padding-left: 12px;
}
.webVueAntYtInputStyle.ant-input-affix-wrapper input{
text-decoration: none;
font-style: normal;
text-align: left;
text-align-last: left;
color: #333333;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
}
.webVueAntYtInputStyle:not(.ant-input-affix-wrapper)::placeholder,.webVueAntYtInputStyle:not(.ant-input-affix-wrapper)::-webkit-input-placeholder,.webVueAntYtInputStyle input::placeholder,.webVueAntYtInputStyle input::-webkit-input-placeholder{
color: #999999;
}
.webVueAntInputFormItem  {
  flex-wrap: nowrap;
}
.webVueAntInputFormItem ,
.webVueAntinput,
.webVueAntInputFormItem .ant-form-item-control-input,
.webVueAntInputFormItem .ant-form-item-control-input .ant-form-item-control-input-content {
  width: 100%;
  height: 100%;
}
.webVueAntInputFormItem .ant-form-item-label {
  flex-shrink: 0;
  padding: 0;
  text-align: left;
}
.webVueAntInputFormItem .ant-form-item-label label {
  width: 100%;
  height: 100%;
}
.webVueAntInputFormItem .ant-form-item-label>label.ant-form-item-required:not(.ant-form-item-required-mark-optional):before {
  margin-top: 4px;
}
.webVueAntInputFormItem .ant-form-item-label label .label-content{
  flex: 1;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.webVueAntInputFormItem .ant-form-item-label>label.ant-form-item-no-colon:after {
  display: none;
}
.webVueAntInputFormItem .ant-form-item-label label .ant-form-item-content {
  white-space: nowrap;
}
.webVueAntInputFormItem.hide-label .ant-form-item-label {
  display: none;
}
.webVueAntInputFormItem .ant-form-item-content:focus{
  outline: none;
}
.webVueAntinput.ant-input-affix-wrapper input {
  background-color: transparent;
}


.webVueAntYtInputFormItem-qztws .ant-form-item-explain{
position: absolute;
top: 100%;
z-index: -1;
}
.webVueAntYtInputFormItem-qztws .ant-form-item-label label{
width: 66px;
padding-right: 10px;
}
.webVueAntYtInputStyle-cvso9:not(.ant-input-affix-wrapper){
background: #FFFFFF !important;
}

.webVueAntYtButtonStyle{
opacity: 1;
color: #FFFFFF;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
background: #4A90E2;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-top: 0px solid #D9D9D9;
border-right: 0px solid #D9D9D9;
border-bottom: 0px solid #D9D9D9;
border-left: 0px solid #D9D9D9;
box-shadow: 0px 0px 0px 0px transparent;
padding-top: 2px;
padding-right: 0px;
padding-bottom: 2px;
padding-left: 0px;
}
.webVueAntYtButtonStyle>span{
line-height: 28px;
letter-spacing: 0px;
text-decoration: none;
font-style: normal;
text-align: center;
text-align-last: center;
}
.webVueAntButton  {
  width: 100%;
  height:100%;
  display: flex;
}
.webVueAntButton .span:first-child{
  flex: 0 0 8px;
}
.webVueAntButton .yt-button-content{
  display: inline-block;
  flex: 1;
}

.webVueAntButton.ant-btn-loading.center .yt-button-content,
.webVueAntButton.ant-btn-loading.right .yt-button-content,
.webVueAntButton.ant-btn-loading.left .yt-button-content {
  flex: 0 0 auto;
}
.webVueAntButton span:focus{
  outline: none;
}
.webVueAntButton.ant-btn-two-chinese-chars>:not(.anticon) {
  margin-right: 0;
}

.webVueAntYtButtonStyle-40xy9{
color: #FFFFFF !important;
background: #3C8EFF !important;
align-items: center;
justify-content: center;
}
.webVueAntYtButtonStyle-40xy9>span{
letter-spacing: 0px !important;
}

.webVueAntYtButtonStyle-gjgy9{
color: #4A90E2 !important;
background: transparent !important;
border-top: 1px solid #4A90E2;
border-right: 1px solid #4A90E2;
border-bottom: 1px solid #4A90E2;
border-left: 1px solid #4A90E2;
align-items: center;
justify-content: center;
}
.webVueAntYtButtonStyle-gjgy9>span{
letter-spacing: 0px !important;
}

.webVueAntYtTable {
    display: inline-block;
}
.webVueAntYtTable .ant-radio-input {
    display: none;
}
.webVueAntYtTable thead tr th div:first-child {
    display: flex !important;
    align-items: center;
}
.webVueAntYtTable thead tr th:before {
    content: none !important;
}
.webVueAntYtTable thead tr th:not(.ant-table-selection-column), .webVueAntYtTable .ant-table-tbody tr td:not(.ant-table-selection-column) {
    padding: 0 !important;
}
.webVueAntYtTable thead tr th.ant-table-selection-column, .webVueAntYtTable .ant-table-tbody tr td.ant-table-selection-column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.webVueAntYtTable .ant-table-tbody tr td, .webVueAntYtTable thead tr th {
    position: relative;
}
.webVueAntYtTable .ant-table-tbody tr td .td-text, .webVueAntYtTable thead tr th .th-text {
    width: 100%;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.webVueAntYtTable .ant-table-tbody tr td {
    border-top: 0 !important;
}
.webVueAntYtTable .ant-table-tbody tr td .ant-radio-wrapper {
    align-items: center;
}
.webVueAntYtTable .ant-table-tbody tr:last-child td {
    border-bottom: 0 !important;
}
.webVueAntYtTable .ant-pagination {
    display: flex;
}

.webVueAntYtTable .add-pointer {
    display: flex !important;
}
.webVueAntYtTable .ant-table-thead .ant-table-cell-scrollbar {
    width: 6px;
}
.webVueAntYtTable .ant-table-header colgroup col:not(.ant-table-selection-col) {
    width: auto !important;
}
:focus-visible {
    outline: none;
}
.webVueAntYtTable .ant-table-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    border-radius: 2px;
}
.webVueAntYtTable .ant-table-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
}
.webVueAntYtTable.custom-table .ant-table-content {
    overflow: hidden !important;
    max-height: unset !important;
}

.webVueAntYtTableStyle-l54wz{
opacity: 1;
}
.webVueAntYtTableStyle-l54wz .ant-table{
box-shadow: 0px 0px 0px 0px transparent;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-top: 1px solid #D9D9D9;
border-right: 1px solid #D9D9D9;
border-bottom: 1px solid #D9D9D9;
border-left: 1px solid #D9D9D9;
}
.webVueAntYtTableStyle-l54wz .ant-table th:first-child{
border-top-left-radius: 4px !important;
}
.webVueAntYtTableStyle-l54wz .ant-table th:last-child{
border-top-right-radius: 4px !important;
}
.webVueAntYtTableStyle-l54wz .ant-table tr:last-child td:first-child{
border-bottom-left-radius: 4px !important;
}
.webVueAntYtTableStyle-l54wz .ant-table tr:last-child td:last-child{
border-bottom-right-radius: 4px !important;
}
.webVueAntYtTableStyle-l54wz .ant-table .ant-table-thead tr,.webVueAntYtTableStyle-l54wz .ant-table .ant-table-thead tr th div:first-child{
height: 50px;
}
.webVueAntYtTableStyle-l54wz .ant-table .ant-table-thead tr th div.ant-table-selection{
line-height: 50px;
}
.webVueAntYtTableStyle-l54wz .ant-table .ant-table-thead tr th{
background: #FFFFFF;
}
.webVueAntYtTableStyle-l54wz .ant-table .ant-table-thead tr span.th-text{
color: #000000A6;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 50px;
letter-spacing: 0px;
font-style: normal;
text-align: center;
text-align-last: center;
text-decoration: none;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.webVueAntYtTableStyle-l54wz .ant-table tbody tr td{
height: 50px;
}
.webVueAntYtTableStyle-l54wz .ant-table tbody tr td .ant-checkbox-wrapper{
line-height: 50px;
}
.webVueAntYtTableStyle-l54wz .ant-table tbody tr td{
background: #FFFFFF;
}
.webVueAntYtTableStyle-l54wz .ant-table thead tr th,.webVueAntYtTableStyle-l54wz .ant-table .ant-table-tbody tr:not(:last-child) td{
border-bottom: 1px solid #dcdcdc;
}
.webVueAntYtTableStyle-l54wz .ant-table thead tr th:not(:last-child),.webVueAntYtTableStyle-l54wz .ant-table .ant-table-tbody tr td:not(:last-child){
border-right: 1px solid #dcdcdc;
}
.webVueAntYtTableStyle-l54wz.ant-table-striped .ant-table tbody tr:nth-child(2n-1) td{
background: #FFFFFF;
}
.webVueAntYtTableStyle-l54wz.ant-table-striped .ant-table tbody tr:nth-child(2n) td{
background: #FFFFFF;
}
.webVueAntYtTableStyle-l54wz .ant-table tbody tr:not(.ant-table-row-selected):hover td{
background: #E4EFFF !important;
}
.webVueAntYtTableStyle-l54wz .ant-table tbody tr:not(.ant-table-row-selected):hover td span.td-text{
color: #000000 !important;
}
.webVueAntYtTableStyle-l54wz .ant-table-tbody tr.ant-table-row-selected td{
background: #3C8EFF !important;
}
.webVueAntYtTableStyle-l54wz .ant-table-tbody tr.ant-table-row-selected td span.td-text{
color: #FFFFFF !important;
}
.webVueAntYtTableStyle-l54wz .ant-pagination li:not(.ant-pagination-options),.webVueAntYtTableStyle-l54wz .ant-pagination button,.webVueAntYtTableStyle-l54wz .ant-pagination li .ant-select .ant-select-selector,.webVueAntYtTableStyle-l54wz .ant-pagination li input{
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
background: #FFFFFF;
color: #000000A6;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 32px;
letter-spacing: 0px;
text-align: center;
text-align-last: center;
font-style: normal;
text-decoration: none;
}
.webVueAntYtTableStyle-l54wz .ant-pagination button,.webVueAntYtTableStyle-l54wz .ant-pagination li .ant-select .ant-select-selector,.webVueAntYtTableStyle-l54wz .ant-pagination li input,.webVueAntYtTableStyle-l54wz .ant-pagination li a,.webVueAntYtTableStyle-l54wz .ant-pagination li .ant-pagination-options-quick-jumper{
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.webVueAntYtTableStyle-l54wz .ant-pagination li:not(.ant-pagination-options),.webVueAntYtTableStyle-l54wz .ant-pagination li.ant-pagination-options .ant-pagination-options-size-changer.ant-select .ant-select-selector,.webVueAntYtTableStyle-l54wz .ant-pagination li.ant-pagination-options .ant-pagination-options-quick-jumper input{
border-top: 1px solid #D9D9D9;
border-right: 1px solid #D9D9D9;
border-bottom: 1px solid #D9D9D9;
border-left: 1px solid #D9D9D9;
}
.webVueAntYtTableStyle-l54wz .ant-pagination li button{
border: none;
}
.webVueAntYtTableStyle-l54wz .ant-pagination li a,.webVueAntYtTableStyle-l54wz .ant-pagination li .ant-pagination-options-quick-jumper{
color: #000000A6;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 32px;
letter-spacing: 0px;
text-align: center;
text-align-last: center;
font-style: normal;
text-decoration: none;
}
.webVueAntYtTableStyle-l54wz .ant-pagination li.ant-pagination-item-active{
background: #FFFFFF;
border-top: 1px solid #1890ff;
border-right: 1px solid #1890ff;
border-bottom: 1px solid #1890ff;
border-left: 1px solid #1890ff;
}
.webVueAntYtTableStyle-l54wz .ant-pagination li.ant-pagination-item-active a{
color: #1890ff;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 32px;
letter-spacing: 0px;
text-align: center;
text-align-last: center;
font-style: normal;
text-decoration: none;
}
.webVueAntYtTableStyle-l54wz tr td:nth-child(2) div:first-child{
text-align: center;
text-align-last: center;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.webVueAntYtTableStyle-l54wz tr td:nth-child(2) div:first-child span.td-text{
color: #000000A6;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 50px;
letter-spacing: 0px;
text-decoration: none;
font-style: normal;
}
.webVueAntYtTableStyle-l54wz tr > th:nth-child(2), .webVueAntYtTableStyle-l54wz .ant-table-body tr.ant-table-measure-row td:nth-child(2){
width: calc((100% - 0px) / 4) !important;
min-width: 1px !important;
max-width: 1px !important;
}
.webVueAntYtTableStyle-l54wz tr td:nth-child(3) div:first-child{
text-align: center;
text-align-last: center;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.webVueAntYtTableStyle-l54wz tr td:nth-child(3) div:first-child span.td-text{
color: #000000A6;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 50px;
letter-spacing: 0px;
text-decoration: none;
font-style: normal;
}
.webVueAntYtTableStyle-l54wz tr > th:nth-child(3), .webVueAntYtTableStyle-l54wz .ant-table-body tr.ant-table-measure-row td:nth-child(3){
width: calc((100% - 0px) / 4) !important;
min-width: 1px !important;
max-width: 1px !important;
}
.webVueAntYtTableStyle-l54wz tr td:nth-child(4) div:first-child{
text-align: center;
text-align-last: center;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.webVueAntYtTableStyle-l54wz tr td:nth-child(4) div:first-child span.td-text{
color: #000000A6;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 50px;
letter-spacing: 0px;
text-decoration: none;
font-style: normal;
}
.webVueAntYtTableStyle-l54wz tr > th:nth-child(4), .webVueAntYtTableStyle-l54wz .ant-table-body tr.ant-table-measure-row td:nth-child(4){
width: calc((100% - 0px) / 4) !important;
min-width: 1px !important;
max-width: 1px !important;
}
.webVueAntYtTableStyle-l54wz tr td:nth-child(5) div:first-child{
text-align: center;
text-align-last: center;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
.webVueAntYtTableStyle-l54wz tr td:nth-child(5) div:first-child span.td-text{
color: #000000A6;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
line-height: 50px;
letter-spacing: 0px;
text-decoration: none;
font-style: normal;
}
.webVueAntYtTableStyle-l54wz tr > th:nth-child(5), .webVueAntYtTableStyle-l54wz .ant-table-body tr.ant-table-measure-row td:nth-child(5){
width: calc((100% - 0px) / 4) !important;
min-width: 1px !important;
max-width: 1px !important;
}
.webVueAntYtTableStyle-l54wz{
width: 100%;
}

.webVueAntYtButtonStyle-qs5f7{
color: #4A90E2 !important;
background: transparent !important;
border-top: 0px solid transparent;
border-right: 0px solid transparent;
border-bottom: 0px solid transparent;
border-left: 0px solid transparent;
align-items: center;
justify-content: center;
}
.webVueAntYtButtonStyle-qs5f7>span{
letter-spacing: 0px !important;
}

.webVueAntYtButtonStyle-d4bww{
color: #4A90E2 !important;
background: transparent !important;
border-top: 0px solid transparent;
border-right: 0px solid transparent;
border-bottom: 0px solid transparent;
border-left: 0px solid transparent;
align-items: center;
justify-content: center;
}
.webVueAntYtButtonStyle-d4bww>span{
letter-spacing: 0px !important;
}

.webVueAntYtButtonStyle-42giv{
color: #FFFFFF !important;
background: #3C8EFF !important;
align-items: center;
justify-content: center;
}
.webVueAntYtButtonStyle-42giv>span{
letter-spacing: 0px !important;
}

.webVueAntYtModalStyle .ant-modal-wrap{
opacity: 1;
box-shadow: 0px 0px 0px 0px transparent;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
border-top: 1px solid transparent;
border-right: 1px solid transparent;
border-bottom: 1px solid transparent;
border-left: 1px solid transparent;
}
.webVueAntYtModalStyle .ant-modal-wrap .yt-custom-modal-header{
text-decoration: none;
font-style: normal;
text-align: left;
text-align-last: left;
color: #333333;
font-family: Microsoft YaHei;
font-size: 14px;
font-weight: Normal;
padding-top: 12px;
padding-right: 0px;
padding-bottom: 12px;
padding-left: 21px;
}
.webVueAntYtModalStyle.yt-custom-modal .ant-modal-header{
height: 45px;
background: #ffffff;
}
.webVueAntYtModalStyle .ant-modal-wrap .ant-modal-close-x{
height: 45px;
line-height: 45px;
}
.webVueAntYtModalStyle.yt-custom-modal .ant-modal-footer{
height: 57px;
background: #ffffff;
}
.webVueAntYtModal {
    width: 100%;
    height: 100%;
}



.webVueAntYtInputFormItem-w0hrk .ant-form-item-explain{
position: absolute;
top: 100%;
z-index: -1;
}
.webVueAntYtInputFormItem-w0hrk .ant-form-item-label label{
width: 67px;
padding-right: 10px;
}
.webVueAntYtInputStyle-2xk2a:not(.ant-input-affix-wrapper){
background: #FFFFFF !important;
}

.webVueAntYtInputFormItem-k5tvn .ant-form-item-explain{
position: absolute;
top: 100%;
z-index: -1;
}
.webVueAntYtInputFormItem-k5tvn .ant-form-item-label label{
width: 53px;
padding-right: 10px;
}
.webVueAntYtInputStyle-pm4a4:not(.ant-input-affix-wrapper){
background: #FFFFFF !important;
}

.webVueAntYtInputFormItem-2gemu .ant-form-item-explain{
position: absolute;
top: 100%;
z-index: -1;
}
.webVueAntYtInputFormItem-2gemu .ant-form-item-label label{
width: 39px;
padding-right: 10px;
}
.webVueAntYtInputStyle-daxm2:not(.ant-input-affix-wrapper){
background: #FFFFFF !important;
}


.webVueAntYtInputFormItem-jlg6b .ant-form-item-explain{
position: absolute;
top: 100%;
z-index: -1;
}
.webVueAntYtInputFormItem-jlg6b .ant-form-item-label label{
width: 67px;
padding-right: 10px;
}
.webVueAntYtInputStyle-0up01:not(.ant-input-affix-wrapper){
background: #FFFFFF !important;
}

.webVueAntYtInputFormItem-ncjva .ant-form-item-explain{
position: absolute;
top: 100%;
z-index: -1;
}
.webVueAntYtInputFormItem-ncjva .ant-form-item-label label{
width: 53px;
padding-right: 10px;
}
.webVueAntYtInputStyle-2jdap:not(.ant-input-affix-wrapper){
background: #FFFFFF !important;
}

.webVueAntYtInputFormItem-55vl7 .ant-form-item-explain{
position: absolute;
top: 100%;
z-index: -1;
}
.webVueAntYtInputFormItem-55vl7 .ant-form-item-label label{
width: 39px;
padding-right: 10px;
}
.webVueAntYtInputStyle-4iyjf:not(.ant-input-affix-wrapper){
background: #FFFFFF !important;
}}
</style>